<?php
	ob_start();
	$id=$_GET['id'];
	$query="DELETE FROM productdetails WHERE id=$id";
	mysql_query($query);
	echo "Đã xóa sản phẩm";
	echo "<script>window.location='index.php?admin=productAdmin&do=listproduct'</script>";
?>